<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改订单发货明细')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-sossend-edit" th:object="${sossend}">
            <input name="id" th:field="*{id}" type="hidden">
            <input name="ids" th:field="*{ids}" type="hidden">
            <input name="idsos" th:field="*{idsos}" type="hidden">
            <!--
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单明细表SOS中的pcode：</label>
                <div class="col-sm-8">
                    <input name="pcode" th:field="*{pcode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单明细表SOS中的pname：</label>
                <div class="col-sm-8">
                    <input name="pname" th:field="*{pname}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单明细表SOS中的pstd：</label>
                <div class="col-sm-8">
                    <input name="pstd" th:field="*{pstd}" class="form-control" type="text">
                </div>
            </div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">发货数量：</label>
                <div class="col-sm-8">
                    <input name="sendqty" th:field="*{sendqty}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">发货物流号：</label>
                <div class="col-sm-8">
                    <input name="logcode" th:field="*{logcode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">是否厂家代发：</label>
                <div class="col-sm-8">
                    <select name="isreplace" th:field="*{isreplace}" class="form-control">
                        <option value="否">否</option>
                        <option value="是">是</option>
                    </select>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <input name="smemo" th:field="*{smemo}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "erp/sossend";
        $("#form-sossend-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-sossend-edit').serialize());
            }
        }
    </script>
</body>
</html>